package org.jeecg.modules.online.cgform.model;

import java.util.List;
import java.util.Map;
import org.jeecg.modules.online.cgform.entity.OnlCgformField;

/* renamed from: org.jeecg.modules.online.cgform.model.e */
/* loaded from: hibernate-re-3.7.1-RC.jar:org/jeecg/modules/online/cgform/model/e.class */
public class OnlQueryModel {

    /* renamed from: a */
    private String f425a;

    /* renamed from: b */
    private Map<String, Object> f426b;

    /* renamed from: c */
    private Map<String, String> f427c;

    /* renamed from: d */
    private List<OnlCgformField> f428d;

    public void setSql(String sql) {
        this.f425a = sql;
    }

    public void setParams(Map<String, Object> params) {
        this.f426b = params;
    }

    public void setTableAliasMap(Map<String, String> tableAliasMap) {
        this.f427c = tableAliasMap;
    }

    public void setFieldList(List<OnlCgformField> fieldList) {
        this.f428d = fieldList;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof OnlQueryModel) {
            OnlQueryModel onlQueryModel = (OnlQueryModel) o;
            if (onlQueryModel.m267a(this)) {
                String sql = getSql();
                String sql2 = onlQueryModel.getSql();
                if (sql == null) {
                    if (sql2 != null) {
                        return false;
                    }
                } else if (!sql.equals(sql2)) {
                    return false;
                }
                Map<String, Object> params = getParams();
                Map<String, Object> params2 = onlQueryModel.getParams();
                if (params == null) {
                    if (params2 != null) {
                        return false;
                    }
                } else if (!params.equals(params2)) {
                    return false;
                }
                Map<String, String> tableAliasMap = getTableAliasMap();
                Map<String, String> tableAliasMap2 = onlQueryModel.getTableAliasMap();
                if (tableAliasMap == null) {
                    if (tableAliasMap2 != null) {
                        return false;
                    }
                } else if (!tableAliasMap.equals(tableAliasMap2)) {
                    return false;
                }
                List<OnlCgformField> fieldList = getFieldList();
                List<OnlCgformField> fieldList2 = onlQueryModel.getFieldList();
                return fieldList == null ? fieldList2 == null : fieldList.equals(fieldList2);
            }
            return false;
        }
        return false;
    }

    /* renamed from: a */
    protected boolean m267a(Object obj) {
        return obj instanceof OnlQueryModel;
    }

    public int hashCode() {
        String sql = getSql();
        int hashCode = (1 * 59) + (sql == null ? 43 : sql.hashCode());
        Map<String, Object> params = getParams();
        int hashCode2 = (hashCode * 59) + (params == null ? 43 : params.hashCode());
        Map<String, String> tableAliasMap = getTableAliasMap();
        int hashCode3 = (hashCode2 * 59) + (tableAliasMap == null ? 43 : tableAliasMap.hashCode());
        List<OnlCgformField> fieldList = getFieldList();
        return (hashCode3 * 59) + (fieldList == null ? 43 : fieldList.hashCode());
    }

    public String toString() {
        return "OnlQueryModel(sql=" + getSql() + ", params=" + getParams() + ", tableAliasMap=" + getTableAliasMap() + ", fieldList=" + getFieldList() + ")";
    }

    public String getSql() {
        return this.f425a;
    }

    public Map<String, Object> getParams() {
        return this.f426b;
    }

    public Map<String, String> getTableAliasMap() {
        return this.f427c;
    }

    public List<OnlCgformField> getFieldList() {
        return this.f428d;
    }

    public OnlQueryModel() {
    }

    public OnlQueryModel(String str, Map<String, Object> map) {
        this.f425a = str;
        this.f426b = map;
    }
}
